import addr from '../apiConfig';
import { axios } from '../libs/axiosSetting';

 export function orgs(params) {
    return axios({
      url: addr+'/a/org/list',
      method: 'get',
      data: params,
    });
  }
  
 export function update(params) {
    return axios({
      url: addr+'/a/org/update',
      method: 'post',
      data: params,
    });
  }
  export function insert(params) {
    return axios({
      url: addr+'/a/org/insert',
      method: 'post',
      data: params,
    });
  }
  export function del(params) {
    return axios.get(addr+'/a/org/delete', {
      params: params,
  });
  }